<div class="febs-container" id="modelAttach-detail">
    <div class="febs-open-body febs-open-body layui-fluid" lay-title="附体详情">
        <form class="layui-form" action="" lay-filter="modelAttach-detail-form">
            <input type="hidden" name="id">

                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs6">
                            <label class="layui-form-label febs-form-item-require">项目编号：</label>
                            <div class="layui-input-block layui-input-block-html" th:text="${modelAttach.projectCode}"></div>
                        </div>
                        <div class="layui-col-xs6">
                            <label class="layui-form-label febs-form-item-require">附体编号：</label>
                            <div class="layui-input-block layui-input-block-html" th:text="${modelAttach.attachCode}"></div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs6">
                            <label class="layui-form-label febs-form-item-require">附体来源：</label>
                            <div class="layui-input-block layui-input-block-html" th:text="${modelAttach.sourceName}"></div>
                        </div>
                        <div class="layui-col-xs6 " id="origAttachCodeDiv">
                            <label class="layui-form-label febs-form-item-require">原附体编号：</label>
                            <div class="layui-input-block layui-input-block-html" th:text="${modelAttach.origAttachCode}"></div>
                        </div>
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs6">
                            <label class="layui-form-label febs-form-item-require">附体类型：</label>
                            <div class="layui-input-block layui-input-block-html" th:text="${modelAttach.attachTypeName}"></div>
                        </div>
                        <div class="layui-col-xs6">
                            <label class="layui-form-label ">名称：</label>
                            <div class="layui-input-block layui-input-block-html" th:text="${modelAttach.attachName}"></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div class="layui-col-xs6">
                            <label class="layui-form-label febs-form-item-require">要求完成时间：</label>
                            <div class="layui-input-block layui-input-block-html" th:text="${#dates.format(modelAttach.demandEnddate, 'yyyy-MM-dd HH:mm')}"></div>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label febs-form-item-require">备注：</label>
                    <div class="layui-input-block layui-input-block-html" th:text="${modelAttach.memo}"></div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-row">
                        <div id="fileUpload" style="height: 120px ;width: 98%"></div>
                    </div>
                </div>

            <div class="layui-form-item" align="center">
                <button type="reset" class="layui-btn" id="reset">返回</button>
            </div>
        </form>
    </div>
</div>
<script data-th-inline="javascript">
    var modelAttachData = [[${modelAttach}]];
    var attachs = [[${attachs}]];
    var ftNo = [[${ftNo}]];
</script>
<script th:src="@{/febs/js/sypq/modelAttach/modelAttachDetail.js(v=1)}"></script>
<style>
    #modelAttach-detail .layui-form-label {
        width: 140px;
    }
    #modelAttach-detail .layui-input-block {
        margin-left: 170px;
    }
</style>